Repository navigation
fix(upgrade): recover pre-proxy controller transitions - #199
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #113
The pre-proxy manager at
791a15b8c474c6f1053237ff0b86b6b37cf0ac92started the controller for312d22d712d5a5e87bdb14796bf2c40f33d53f92with--no-deps. The controller restarted without its Docker socket proxy.The upgrade procedure stages the reviewed manager from a protected checkout before invoking the staged manager to activate the new runtime. Compose waits for the healthy proxy and uses verified local images. If the candidate enters a restart loop during rollback, the installer disables restart on the identified controller, verifies it has stopped, and waits for active runners before restoring the incumbent.
The regression installs the exact historical manager and runtime. With simulated Docker and systemd, it verifies failure when the proxy cannot start, recovery when the candidate restarts during pause, and successful activation with an initially absent proxy. It compares the installed state, actual image identity, proxy readiness, and health report. The fixture uses function-local state with the ShellCheck rules enabled.
GitHub ran the full validator for
3a250123ffa99f8141e881bf17c82c7db7d84e3bagainst7c79899f6f4a8745b72f7b2c8f6050b31b17297a. All eight stages passed with no expected skips, including the historical installer regression and container builds. Codex reported no findings on the same head. Validation reportFocused installer, image lifecycle, reconciliation, and historical fixture setup checks passed locally. The full local retry is still running after a systemd timeout on the disposable VM. Live-host acceptance and rollout require separate authorization.
The engine's desired-state and validation guides document the procedure and historical input. The standalone configuration template already supplies the manager staging and evidence sequence, so this change needs no template update.